import React from 'react'

interface Props { message?: string }

const LoadingSpinner: React.FC<Props> = ({ message = '加载中...' }) => {
  return (
    <div className="loading">
      <div className="loading-spinner"></div>
      <p style={{ color: '#666', fontSize: '14px' }}>{message}</p>
    </div>
  )
}

export default LoadingSpinner
